package com.ruoyi.applet.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 秒杀时间对象 spikes
 * 
 * @author ruoyi
 * @date 2024-12-21
 */
public class Spikes extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 秒杀表唯一标识 */
    private Long spikesId;

    /** 秒杀开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "秒杀开始时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date spikesStartTime;

    /** 秒杀结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "秒杀结束时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date spikesEndTime;

    /** 秒杀介绍 可不填 */
    @Excel(name = "秒杀介绍 可不填")
    private String spikesInfo;

    public Spikes() {
    }

    public Spikes( Long spikesId, Date spikesStartTime, Date spikesEndTime, String spikesInfo) {
        this.spikesId = spikesId;
        this.spikesStartTime = spikesStartTime;
        this.spikesEndTime = spikesEndTime;
        this.spikesInfo = spikesInfo;
    }

    /**
     * 获取
     * @return spikesId
     */
    public Long getSpikesId() {
        return spikesId;
    }

    /**
     * 设置
     * @param spikesId
     */
    public void setSpikesId(Long spikesId) {
        this.spikesId = spikesId;
    }

    /**
     * 获取
     * @return spikesStartTime
     */
    public Date getSpikesStartTime() {
        return spikesStartTime;
    }

    /**
     * 设置
     * @param spikesStartTime
     */
    public void setSpikesStartTime(Date spikesStartTime) {
        this.spikesStartTime = spikesStartTime;
    }

    /**
     * 获取
     * @return spikesEndTime
     */
    public Date getSpikesEndTime() {
        return spikesEndTime;
    }

    /**
     * 设置
     * @param spikesEndTime
     */
    public void setSpikesEndTime(Date spikesEndTime) {
        this.spikesEndTime = spikesEndTime;
    }

    /**
     * 获取
     * @return spikesInfo
     */
    public String getSpikesInfo() {
        return spikesInfo;
    }

    /**
     * 设置
     * @param spikesInfo
     */
    public void setSpikesInfo(String spikesInfo) {
        this.spikesInfo = spikesInfo;
    }

    public String toString() {
        return "Spikes{serialVersionUID = " + serialVersionUID + ", spikesId = " + spikesId + ", spikesStartTime = " + spikesStartTime + ", spikesEndTime = " + spikesEndTime + ", spikesInfo = " + spikesInfo + "}";
    }
}
